<template>
  <div class="patient-info" v-if="true">
    <div class="patient-info-inside">
      <div class="header">
        <div class="left item">
          <img alt="左侧" src="@/components/assets/images/design/1-12.webp" />
        </div>
        <div class="middle item">药品信息</div>
        <div class="right item">
          <img alt="右侧" src="@/components/assets/images/design/1-12.webp" />
        </div>
      </div>
      <div class="patient-info-area-box">
        <el-row
          class="patient-info-area"
          v-for="(item, index) in DrugInformationList"
          :key="index"
        >
          <el-col :span="24">
            <div class="sign">药品名称：</div>
            <div class="content">{{ item?.medicineName }}</div>
          </el-col>
          <el-col :span="24">
            <div class="sign">规格：</div>
            <div class="content">{{ item?.specifications }}</div>
          </el-col>
          <el-col :span="24">
            <div class="sign ">价格：</div>
            <div class="content colorOrange">{{ item?.price }}</div>
          </el-col>
          <el-col :span="24">
            <div class="sign">单位：</div>
            <div class="content">{{ item?.priceUnit }}</div>
          </el-col>
          <el-col :span="24">
            <div class="sign ">生产厂家：</div>
            <div class="content ">{{ item?.producer }}</div>
          </el-col>
          <el-col :span="24">
            <div class="sign ">类型：</div>
            <div class="content ">{{ item?.type }}</div>
          </el-col>
        </el-row>
      </div>
    </div>
  </div>
</template>

<script>
import { AndroidToWeb, buildParentApi } from "@/utils/designer/util";
let buildParent = buildParentApi();
export default {
  name: "DrugInformationDetails",

  componentName: "DrugInformationDetails",

  components: {},

  data() {
    return {
      countMoney: "",
    };
  },

  computed: {
    patientInfo() {
      return this.$store.getters["DRCbiz/getPatientInfo"];
    },
    DrugInformationList(){
       //   {
            //     "result": [{
            //         "medicineCode": "532986",
            //         "medicineName": "羟苯磺酸钙胶囊",
            //         "specifications": "0.5g",
            //         "price": "71.7500",
            //         "priceUnit": "粒",
            //         "producer": "宁夏康亚药业股",
            //         "type": "西药",
            //         "packagingUnit": "1",
            //         "miniUnit": "48",
            //         "chargelevel": "乙",
            //         "insurancecode": "XS01XAQ020E001020605911"
            //     }, {
            //         "medicineCode": "115219",
            //         "medicineName": "青蒿",
            //         "specifications": "1g",
            //         "price": "2.2100",
            //         "priceUnit": "克",
            //         "producer": "国产",
            //         "type": "中草药",
            //         "packagingUnit": "1",
            //         "miniUnit": "1000",
            //         "chargelevel": "甲",
            //         "insurancecode": "T000200628"
            //     }]
            // }
      return this.$store.getters["DRCbiz/getSetDrugInformationList"];
    },
    
  },

  mounted() {},

  methods: {
   
  },
};
</script>

<style scoped lang="scss">
@import "./assets/style";
</style>